package com.wangzhixuan.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-09-25
 */
@TableName("c_ele_rate")
public class EleRate extends Model<EleRate> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 电表倍率
     */
	@TableField("ele_rate")
	private String eleRate;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getEleRate() {
		return eleRate;
	}

	public void setEleRate(String eleRate) {
		this.eleRate = eleRate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
